package com.ruoyi.docs.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 栏目对象 biz_column
 * 
 * @author ruoyi
 * @date 2024-05-05
 */
public class BizColumn extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 栏目ID */
    private Long columnId;

    /** 栏目名称 */
    @Excel(name = "栏目名称")
    private String columnName;

    /** 栏目类型0:信息,1:评议 */
    @Excel(name = "栏目类型0:信息,1:评议")
    private Long columnType;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long columnSort;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setColumnId(Long columnId) 
    {
        this.columnId = columnId;
    }

    public Long getColumnId() 
    {
        return columnId;
    }
    public void setColumnName(String columnName) 
    {
        this.columnName = columnName;
    }

    public String getColumnName() 
    {
        return columnName;
    }
    public void setColumnType(Long columnType) 
    {
        this.columnType = columnType;
    }

    public Long getColumnType() 
    {
        return columnType;
    }
    public void setColumnSort(Long columnSort) 
    {
        this.columnSort = columnSort;
    }

    public Long getColumnSort() 
    {
        return columnSort;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("columnId", getColumnId())
            .append("parentId", getParentId())
            .append("columnName", getColumnName())
            .append("columnType", getColumnType())
            .append("columnSort", getColumnSort())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
